/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.grupecinc.model.dao;

import br.grupecinc.conexaoBD.SistemaDAO;
import br.grupecinc.model.entity.Diaria;
import java.util.List;
import javax.persistence.Query;

/**
 *
 * @author Kaynan
 */
public class DiariaBD {

    public List<Diaria> consultaDiaria() {
        Query query = SistemaDAO.createNamedQuery("DiariaBy");
        return query.getResultList();
    }
    
    

}
